import React from 'react'
import { useTranslation } from 'react-i18next';

function Index() {
  const { t, i18n } = useTranslation();
  return (
    <div className='
      w-6/12
      h-[300px]
      bg-violet-300
      dark:bg-black
      dark:text-slate-200
    '>
      <h1>{t('Welcome to React')}</h1>
    </div>
  )
}

export default Index
